﻿using System;
using System.Collections.Generic;
using SharpSqlAnalyzer.nodes.hive;

namespace SharpSqlAnalyzer.nodes
{
	// Token: 0x02000273 RID: 627
	public class TAlterDatabaseSqlNode : TParseTreeNode
	{
		// Token: 0x17000360 RID: 864
		// (get) Token: 0x060013A5 RID: 5029 RVA: 0x00324100 File Offset: 0x00322300
		// (set) Token: 0x060013A6 RID: 5030 RVA: 0x00324108 File Offset: 0x00322308
		public virtual TObjectName NewDatabaseName
		{
			get
			{
				return this._newDatabaseName;
			}
			set
			{
				this._newDatabaseName = value;
			}
		}

		// Token: 0x17000361 RID: 865
		// (get) Token: 0x060013A7 RID: 5031 RVA: 0x00324111 File Offset: 0x00322311
		// (set) Token: 0x060013A8 RID: 5032 RVA: 0x00324119 File Offset: 0x00322319
		public virtual TObjectName OwnerName
		{
			get
			{
				return this._ownerName;
			}
			set
			{
				this._ownerName = value;
			}
		}

		// Token: 0x17000362 RID: 866
		// (get) Token: 0x060013A9 RID: 5033 RVA: 0x00324122 File Offset: 0x00322322
		// (set) Token: 0x060013AA RID: 5034 RVA: 0x0032412A File Offset: 0x0032232A
		public virtual List<THiveKeyValueProperty> DbProperties
		{
			get
			{
				return this._dbProperties;
			}
			set
			{
				this._dbProperties = value;
			}
		}

		// Token: 0x17000363 RID: 867
		// (get) Token: 0x060013AB RID: 5035 RVA: 0x00324133 File Offset: 0x00322333
		// (set) Token: 0x060013AC RID: 5036 RVA: 0x0032413B File Offset: 0x0032233B
		public virtual TObjectName DatabaseName
		{
			get
			{
				return this._databaseName;
			}
			set
			{
				this._databaseName = value;
			}
		}

		// Token: 0x060013AD RID: 5037 RVA: 0x00324144 File Offset: 0x00322344
		public override void init(object arg1, object arg2)
		{
			this._databaseName = (TObjectName)arg1;
			this._databaseName.DbObjectType = EDbObjectType.database;
			this._dbProperties = (List<THiveKeyValueProperty>)arg2;
		}

		// Token: 0x060013AE RID: 5038 RVA: 0x0032416A File Offset: 0x0032236A
		public override void init(object arg1)
		{
			this._databaseName = (TObjectName)arg1;
		}

		// Token: 0x0400168D RID: 5773
		private TObjectName _databaseName;

		// Token: 0x0400168E RID: 5774
		private List<THiveKeyValueProperty> _dbProperties;

		// Token: 0x0400168F RID: 5775
		private TObjectName _newDatabaseName;

		// Token: 0x04001690 RID: 5776
		private TObjectName _ownerName;
	}
}
